package org.dreamfly.core.remote.register;

import java.util.Properties;

/**
 * Created by IntelliJ IDEA.
 * User: Gin
 * Date: 2010-11-26
 * Time: 22:49:56
 * To change this template use File | Settings | File Templates.
 */
public interface ServiceProxyGenerator {
     /**
     * 取得服务代理对象。
     *
     * @param serviceClass
     *            服务接口
     * @param serviceUrl
     *            服务地址
     * @param props
     *            附加属性
     * @return 代理对象
     * @throws Exception
     */
    Object getService(Class serviceClass, String serviceUrl, Properties props) throws Exception;
}
